package com.example.springbootdemo;

import com.amazonaws.services.dynamodbv2.xspec.S;
import com.google.common.primitives.Ints;
import org.apache.commons.collections.list.SynchronizedList;

import java.util.*;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

public class TestMain {

    public static void main(String[] args) {

        Lock lock = new ReentrantLock();
        lock.lock();
        try {

        }catch (Exception e){

        }finally {
            lock.unlock();
        }
    }
}
